public Election::removeVotesByTags
Description
php
public Election->removeVotesByTags ( array|string $tags [, bool $with = true] ): array
Remove Vote from an election using tags.
php
\$election->removeVotesByTags('Charlie') ; // Remove vote(s) with tag Charlie
\$election->removeVotesByTags('Charlie', false) ; // Remove votes without tag Charlie
\$election->removeVotesByTags('Charlie, Julien', false) ; // Remove votes without tag Charlie AND without tag Julien.
\$election->removeVotesByTags(array('Julien','Charlie')) ; // Remove votes with tag Charlie OR with tag Julien.
Parameters
tags: array|string
Tags as string separated by commas or array.
with: bool
Votes with these tags or without.
Return value
(array
) List of removed CondorcetPHP\Condorcet\Vote object.